package com.ruoyi.stock.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.With;

/**
 * 股票交易日历信息对象 stock_trade_date
 *
 * @author ruoyi
 * @date 2021-11-02
 */
@EqualsAndHashCode(callSuper = true)
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
@With
@ToString
public class StockTradeDate extends BaseEntity {
  private static final long serialVersionUID = 1L;

  /** id */
  private Long id;

  /** 日历日期 */
  @Excel(name = "日历日期")
  private String calDate;

  /** 是否交易 0休市 1交易 */
  @Excel(name = "是否交易 0休市 1交易")
  private String isOpen;

  /** 上一个交易日 */
  @Excel(name = "上一个交易日")
  private String pretradeDate;
}
